FROM mysql:5.7

ENV MYSQL_DATABASE='account'
ENV MYSQL_ROOT_PASSWORD='db_password'

ADD ./charset.cnf /etc/mysql/conf.d/
ADD ./schema.sql /docker-entrypoint-initdb.d/

EXPOSE 3366